﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class Sys_PageCollection : List<Sys_Page>
    {
         public int IndexOf(Sys_Page item)
        {
            return base.IndexOf(item);
        }
        public void Insert(int index, Sys_Page item)
        {
            base.Insert(index, item);
        }
        public new void RemoveAt(int index)
        {
            base.RemoveAt(index);
        }
        public Sys_Page this[int index]
        {
            get
            {
                return base[index];
            }
            set
            {
                base[index] = value;
            }
        }
        public void Add(Sys_Page item)
        {
            base.Add(item);
        }
        public new void Clear()
        {
            base.Clear();
        }
        public new bool Contains(Sys_Page item)
        {
            return base.Contains(item);
        }
        public new void CopyTo(Sys_Page[] array, int arrayIndex)
        {
            base.CopyTo(array, arrayIndex);
        }
        public new int Count
        {
            get
            {
                return base.Count;
            }
        }
        public bool IsReadOnly
        {
            get
            {
                return IsReadOnly;
            }
        }
        public new void Remove(Sys_Page item)
        {
            base.Remove(item);
        }
        public new IEnumerator<Sys_Page> GetEnumerator()
        {
            return base.GetEnumerator();
        } 
    }
    public class Sys_Page
    {
        private int _IdPage;

        public int IdPage
        {
            get { return _IdPage; }
            set { _IdPage = value; }
        }
        private int _IdModule;

        public int IdModule
        {
            get { return _IdModule; }
            set { _IdModule = value; }
        }
        private string _PageCode;

        public string PageCode
        {
            get { return _PageCode; }
            set { _PageCode = value; }
        }
        private string _PageName;

        public string PageName
        {
            get { return _PageName; }
            set { _PageName = value; }
        }
        private string _Link;

        public string Link
        {
            get { return _Link; }
            set { _Link = value; }
        }
        private int _Position;

        public int Position
        {
            get { return _Position; }
            set { _Position = value; }
        }
        private string _Capcha;

        public string Capcha
        {
            get { return _Capcha; }
            set { _Capcha = value; }
        }
        private Boolean _IsVisible;

        public Boolean IsVisible
        {
            get { return _IsVisible; }
            set { _IsVisible = value; }
        }
        private DateTime _CreateDate=DateTime.Now;

        public DateTime CreateDate
        {
            get { return _CreateDate; }
            set { _CreateDate = value; }
        }
        private DateTime _UpdateDate=DateTime.Now;

        public DateTime UpdateDate
        {
            get { return _UpdateDate; }
            set { _UpdateDate = value; }
        }
        private int _CreateBy;

        public int CreateBy
        {
            get { return _CreateBy; }
            set { _CreateBy = value; }
        }
    }
}
